﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Zatify.Domain.Data;
using System.ComponentModel.DataAnnotations;

namespace Zatify.WebUI.Models
{
    public class PromotionProximityViewModel
    {
        public int PromotionId { get; set; }
    
        public decimal PromotionCompaignCost { get; set; }
        public decimal PromotionCompaignFlatFee { get; set; }

        public decimal ProximityFlatFee { get; set; }
        public decimal ProximityCost { get; set; }

        public decimal RegisteredOutsideFixedCost { get; set; }
        public decimal RegisteredOutsideRatePerPush { get; set; }

        public int? SelectedProximityRadiusId { get; set; }

        public IList<ProximityRadius> ProximityRadiusesFeets { get; set; }
        public IList<ProximityRadius> ProximityRadiusesMiles { get; set; }

        [Range(1, 199, ErrorMessage = "Custom Range must be minimum 1 and maximum 199")]
        public string CustomRangeValue { get; set; }

        public bool IsFeetsSelected { get; set; }
        public string FeetId { get; set; }

        public bool IsRegisteredOutside { get; set; }
        public string RadiusCode { get; set; }

        public bool IsOver200MilesSelected { get; set; }

        public bool IsCustomRangeSelected { get; set; }
    }
}